package com.dragon.mmochat.model.enumType;

public enum MmochatBigMoneyDealType {
	求购(0), 寄售(1);

	int key;

	MmochatBigMoneyDealType(int k) {
		key = k;
	}

	public int getKey() {
		return key;
	}

	public static MmochatBigMoneyDealType get(int v) {
		for (MmochatBigMoneyDealType type : MmochatBigMoneyDealType.values()) {
			if (type.getKey() == v) {
				return type;
			}
		}
		return null;
	}
}
